package com.mezz.bones.framework.notification.sms.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author mezz
 * @date 2022-05-03 17:40
 * @description:
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "sms")
public class SmsProperties {

  public TxSms txSms;

  public Sms360 sms360;

  @Data
  public static class Sms360 {
    public String email;
    public String key;
    public String url;
  }

  @Data
  public static class TxSms{

    public Integer appId;
    public String appKey;
    public String region;
  }

}
